IAxis.MoveVelocity method
Commands a never-ending controlled motion at a specified velocity.
Namespace: IntervalZero.KINGSTAR.Base.Class
Assembly: IntervalZero.KINGSTAR.Base.Class (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0
Syntax
IMoveVelocityCommand MoveVelocity(
double velocity,
double acceleration,
double deceleration,
double jerk,
McDirection direction,
McBufferMode bufferMode
)
Function MoveVelocity(
velocity As Double,
acceleration As Double,
deceleration As Double,
jerk As Double,
direction As McDirection,
bufferMode As McBufferMode
)As IMoveVelocityCommand
Parameters
velocity
Type: double
The value of the specified velocity. [unit/second]
acceleration
Type: double
The value of the acceleration. The unit is determined by McProfileType. (increasing energy of the motor) [unit/second2] or [second]
deceleration
Type: double
The value of the deceleration. The unit is determined by McProfileType. (decreasing energy of the motor) [unit/second2] or [second]
jerk
Type: double
The value of the jerk. The unit is determined by McProfileType. [unit/second3] or [second]
direction
Type: McDirection
The moving direction of an axis. mcShortestWay
is not applicable.
bufferMode
Type: McBufferMode
Defines how to blend the velocity of two methods.
Return value
Type: IMoveVelocityCommand
Returns the properties of a velocity move.
Remarks
- When the axis has reached the specified velocity, this command is finished but the axis keeps moving.
- For more information about how the blending modes work, see Concepts > Blend movement.
See also